package com.cleaningcloud.erp.mapper;

import java.util.List;
import com.cleaningcloud.erp.domain.ErpWareReportingDetails;

/**
 * 报损明细Mapper接口
 * 
 * @author cleaningcloud
 * @date 2024-09-28
 */
public interface ErpWareReportingDetailsMapper 
{
    /**
     * 查询报损明细
     * 
     * @param wareReportingDetailsId 报损明细主键
     * @return 报损明细
     */
    ErpWareReportingDetails selectErpWareReportingDetailsByWareReportingDetailsId(Long wareReportingDetailsId);

    /**
     * 查询报损明细列表
     * 
     * @param erpWareReportingDetails 报损明细
     * @return 报损明细集合
     */
    List<ErpWareReportingDetails> selectErpWareReportingDetailsList(ErpWareReportingDetails erpWareReportingDetails);

    /**
     * 新增报损明细
     * 
     * @param erpWareReportingDetails 报损明细
     * @return 结果
     */
    int insertErpWareReportingDetails(ErpWareReportingDetails erpWareReportingDetails);

    /**
     * 修改报损明细
     * 
     * @param erpWareReportingDetails 报损明细
     * @return 结果
     */
    int updateErpWareReportingDetails(ErpWareReportingDetails erpWareReportingDetails);

    /**
     * 删除报损明细
     * 
     * @param wareReportingDetailsId 报损明细主键
     * @return 结果
     */
    int deleteErpWareReportingDetailsByWareReportingDetailsId(Long wareReportingDetailsId);

    /**
     * 批量删除报损明细
     * 
     * @param wareReportingDetailsIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteErpWareReportingDetailsByWareReportingDetailsIds(Long[] wareReportingDetailsIds);
}
